@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-Regular.ttf") format("woff2");
  font-weight: 400;
  /* Poids régulier */
}

@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins/Poppins-Bold.ttf") format("woff2");
  font-weight: 700;
  /* Poids pour le gras */
}

.weight {
  font-weight: 800;
}

.bold {
  font-family: "Poppins", sans-serif;
  /* Assurez-vous que la police est bien utilisée */
  font-weight: 700;
  /* Utilise la version en gras de la police */
  text-transform: uppercase;
  /* font-size: 12px !important; */
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}

.selector {
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* .line.drag-over {
  background-color: gray;
} */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

html {
  overflow-x: hidden;
}

a {
  cursor: pointer;
  /* color: black; */
}

select {
  outline: 0;
}

input {
  font-weight: normal;
}

.non-interactive {
  pointer-events: none;
}

.swal2-shown {
  overflow: hidden;
}

.spinner-constats {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000000;
  background-color: rgba(255, 255, 255, 0);
  background: rgba(0, 0, 0, 0);
}

.blurred {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.no-maj {
  text-transform: lowercase;
}

.default-text {
  text-transform: none;
}

.chevron {
  cursor: pointer;
  /* Ajoute un curseur de pointeur pour indiquer qu'ils sont interactifs */
  user-select: none;
  /* Empêche la sélection du texte des chevrons */
}

.dragging {
  opacity: 0.5;
}

.drag-over {
  border: 2px dashed #000;
  /* Par exemple, pour un effet de bordure en pointillés */
}

.user-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.user-card:hover {
  transform: scale(1.01);
}

.user-avatar img {
  object-fit: cover;
  /* Pour que les images restent jolies même si elles ne sont pas carrées */
}

.user-card .btn {
  background-color: #007bff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.user-card .btn:hover {
  background-color: #0056b3;
}

.shake-animation,
.autres-stats {
  cursor: pointer;
}

.shake-animation:active {
  animation: shake-animation 150ms 2 linear;
  -moz-animation: shake-animation 150ms 2 linear;
  -webkit-animation: shake-animation 150ms 2 linear;
  -o-animation: shake-animation 150ms 2 linear;
}

@keyframes shake-animation {
  0% {
    transform: translate(3px, 0);
  }

  50% {
    transform: translate(-3px, 0);
  }

  100% {
    transform: translate(0, 0);
  }
}